 

#region Copyright Statement
//////////////////////////////////////////////
//	ORMAC
//  By: Ali Ghomi (2011)
//////////////////////////////////////////////
#endregion

#region using
using System;
using System.Collections.Generic;
using ORMAC;
using ORMAC.Attributes;
using System.Runtime.Serialization;
#endregion

namespace Test
{
	/// <summary>
	/// Auto generated class by ORMAC from Shippers table
	/// </summary>
	[Table("Shippers")]
	[DataContract]
	public class OShippers
	{
		/// <summary>
		/// Auto generated property by ORMAC from ShipperID column
		/// </summary>		
		[PrimaryKey]
		[Field("ShipperID")]
		[DataMember]
		public int ShipperID{
			get;
			set;
		}
		/// <summary>
		/// Auto generated property by ORMAC from CompanyName column
		/// </summary>		
		[Field("CompanyName")]
		[DataMember]
		public string CompanyName{
			get;
			set;
		}
		/// <summary>
		/// Auto generated property by ORMAC from Phone column
		/// </summary>		
		[Field("Phone")]
		[DataMember]
		public string Phone{
			get;
			set;
		}
		/// <summary>
		/// Auto generated class property by ORMAC using
		///ShipperID as primary key and ShipVia as foreign key in  Orders table
		/// </summary>				
		[DataMember]
		[Join(ParentCol="ShipperID",ChildCol="ShipVia")]
		public List<OOrders> Orderss{
			get;
			set;
		}

	}
}
